package edu.xalead;

public class FactoryBean {

    //非静态方法（实例方法0
    public  User createUser(){
        return new User();
    }


    //静态方法
    public static User createStaticUser(){
        User u =new User(1000,"张三",22,"nan",null,null,null,null,null);
        return u;
    }

    public String creatUser() {
        return null;
    }
}
